home *** CD-ROM | disk | FTP | other *** search
- PVLIB Variables Description (page 1 of 1)
- -------------------------------------------
-
-
- /------------------------\
- | Data Structure POVData |
- \------------------------/
-
- Data Type Name Description
- --------- ---- -----------
- double pd->x1 X Coordinate, Vector 1
- double pd->y1 Y Coordinate, Vector 1
- double pd->z1 X Coordinate, Vector 1
- double pd->x2 X Coordinate, Vector 2
- double pd->y2 Y Coordinate, Vector 2
- double pd->z2 Z Coordinate, Vector 2
- double pd->x3 X Coordinate, Vector 3
- double pd->y3 Y Coordinate, Vector 3
- double pd->z3 Z Coordinate, Vector 3
- double pd->xMidpt Midpoint (cylinders - x)
- double pd->yMidpt Midpoint (cylinders - y)
- double pd->zMidpt Midpoint (cylinders - z)
- double pd->xTrans Translation Factor (x)
- double pd->yTrans Translation Factor (y)
- double pd->zTrans Translation Factor (z)
- double pd->xScale Scale Factor (x)
- double pd->yScale Scale Factor (y)
- double pd->zScale Scale Factor (z)
- double pd->radius Radius (sphere, cylinders)
- double pd->aspect Screen Aspect Ratio
- double pd->LocX Scene Viewpoint (X Coordinate)
- double pd->LocY Scene Viewpoint (Y Coordinate)
- double pd->LocZ Scene Viewpoint (Z Coordinate)
- double pd->AtX Center of Interest (Z Coordinate)
- double pd->AtY Center of Interest (Z Coordinate)
- double pd->AtZ Center of Interest (Z Coordinate)
-
-
-
- /------------------------\
- | Data Structure POVFile |
- \------------------------/
-
- Data Type Name Description
- --------- ---- -----------
- char pf->FileStat File Creation Status (ON/OFF)
- char pf->ObjStat Object Creation Status (ON/OFF)
- char pf->CapCyl Capped Cylinder Status (ON/OFF)
- char pf->FileFormat Output File Type (DKB/POV)
- char pf->Object POV Object Name
- char pf->FileIn Input File Name
- char pf->FileName Output File Name
- FILE(*) pf->in Input File Handle
- FILE(*) pf->out Output FIle Handle
-
-
-
- PVLIB Functions List (Page 1 of 1)
- ------------------------------------
-
-
- Function Name Description
- ------------- -----------
-
- void pvACube(void) Add Cube to POV File
-
- void pvAXCyl(void) Add X Cylinder to POV File
-
- void pvAYCyl(void) Add Y Cylinder to POV File
-
- void pvAZCyl(void) Add Z Cylinder to POV File
-
- void pvASph(void) Add Sphere to POV File
-
- void pvATri(void) Add Triangle to POV File
-
- int pvAInc(void) Add Include Defs to POV File
-
- int pvAView(void) Add ViewPoint to POV File
-
- int pvALight(void) Add Light Source to POV File
-
- int pvSFile(void) Open POV File
-
- int pvEFile(void) Close POV File
-
- int pvSObj(void) Start POV Object/Union
-
- int pvEObj(void) End POV Object/Union
-
-
-
-
- PVLIB Functions Description (page 1 of 3)
- -------------------------------------------
-
- void pvACube(void) - Add Cube to POV File
-
- INPUT - pd->x1 - Lower, Left, Close (x)
- pd->y1 - Lower, Left, Close (y)
- pd->z1 - Lower, Left, Close (x)
- pd->x2 - Upper, Right, Far (x)
- pd->y2 - Upper, Right, Far (y)
- pd->z2 - Upper, Right, Far (z)
-
- RETURNS - n/a
-
- ----------------------------------------------------------------
-
- void pvAXCyl(void) - Add X Cylinder to POV File
-
- INPUT - pd->x1 - Left Coordinate (x)
- pd->x2 - Right Coordinate (x)
- pd->y1 - Y Axis Coordinate
- pd->z1 - Z Axis Coordinate
- pd->radius - Cylinder Radius
-
- RETURNS - n/a
-
- ----------------------------------------------------------------
-
- void pvAYCyl(void) - Add Y Cylinder to POV File
-
- INPUT - pd->y1 - Bottom Coordinate (y)
- pd->y2 - Top Coordinate (y)
- pd->x1 - X Axis Coordinate
- pd->z1 - Z Axis Coordinate
- pd->radius - Cylinder Radius
-
- RETURNS - n/a
-
- ----------------------------------------------------------------
-
- void pvAZCyl(void) - Add Z Cylinder to POV File
-
- INPUT - pd->z1 - Close Coordinate (z)
- pd->z2 - Far Coordinate (z)
- pd->x1 - X Axis Coordinate
- pd->y1 - Y Axis Coordinate
- pd->radius - Cylinder Radius
-
- RETURNS - n/a
-
-
-
- PVLIB Functions Description (page 2 of 3)
- -------------------------------------------
-
- void pvASph(void) - Add Sphere to POV File
-
- INPUT - pd->x1 - Sphere Origin (x)
- pd->y1 - Sphere Origin (y)
- pd->z1 - Sphere Origin (z)
- pd->radius - Sphere Radius
-
- RETURNS - n/a
-
- ----------------------------------------------------------------
-
- void pvATri(void) - Add Triangle to POV File
-
- INPUT - pd->x1 - Triangle Vertex 1 (x)
- pd->y1 - Triangle Vertex 1 (y)
- pd->z1 - Triangle Vertex 1 (z)
- pd->x2 - Triangle Vertex 2 (x)
- pd->y2 - Triangle Vertex 2 (y)
- pd->z2 - Triangle Vertex 2 (z)
- pd->x3 - Triangle Vertex 3 (x)
- pd->y3 - Triangle Vertex 3 (y)
- pd->z3 - Triangle Vertex 3 (z)
-
- RETURNS - n/a
-
- ----------------------------------------------------------------
-
- int pvAInc(void) - Add Include Defs to POV File
-
- INPUT - n/a
-
- RETURNS - 0 = Successful
- 1 = Error
-
- ----------------------------------------------------------------
-
- int pvAView(void) - Add ViewPoint to POV File
-
- INPUT - pd->LocX - Viewpoint Location (x)
- pd->LocY - Viewpoint Location (y)
- pd->LocZ - Viewpoint Location (z)
- pd->AtX - Center of Interest (x)
- pd->AtY - Center of Interest (y)
- pd->AtZ - Center of Interest (z)
- pd->aspect - Screen Aspect Ratio
-
- RETURNS - 0 = Successful
- 1 = Error
-
-
-
- PVLIB Functions Description (page 3 of 3)
- -------------------------------------------
-
-
- int pvALight(void) - Add Light Source to POV File
-
- INPUT - pd->x1 - Light Source Location (x)
- pd->y1 - Light Source Location (y)
- pd->z1 - Light Source Location (z)
-
- RETURNS - 0 = Successful
- 1 = Error
-
- ----------------------------------------------------------------
-
- int pvSFile(void) - Open POV File
-
- INPUT - pf->FileName - POV File Name
-
- RETURNS - 0 = Successful
- 1 = Error
-
- ----------------------------------------------------------------
-
- int pvEFile(void) - Close POV File
-
- INPUT - n/a
-
- RETURNS - 0 = Successful
- 1 = Error
-
- ----------------------------------------------------------------
-
- int pvSObj(void) - Start POV Object/Union
-
- INPUT - pf->Object - POV Object Name
-
- RETURNS - 0 = Successful
- 1 = Error
-
- ----------------------------------------------------------------
-
- int pvEObj(void) - End POV Object/Union
-
- INPUT - n/a
-
- RETURNS - 0 = Successful
- 1 = Error
-